-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Contract deletion #2495
Draft
corrideat
wants to merge
19
commits into
master
Choose a base branch
from
1927-design-implement-contract-deletion-op_contract_delete
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Contract deletion #2495
corrideat
wants to merge
19
commits into
master
from
1927-design-implement-contract-deletion-op_contract_delete
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group-income Run #3784
Run Properties:
|
Project |
group-income
|
Branch Review |
1927-design-implement-contract-deletion-op_contract_delete
|
Run status |
Passed #3784
|
Run duration | 11m 02s |
Commit |
a5b7d2ab7d ℹ️: Merge 2ac68ba813f6f56a1ff1eeeabbac0d96b3026f16 into fe77c20126e1f9f86fa3bcee5d7f...
|
Committer | Ricardo Iván Vieitez Parra |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
0
|
Pending |
10
|
Skipped |
0
|
Passing |
112
|
View all changes introduced in this branch ↗︎ |
corrideat
force-pushed
the
1927-design-implement-contract-deletion-op_contract_delete
branch
from
January 8, 2025 20:26
ee948fb
to
0b72902
Compare
corrideat
force-pushed
the
1927-design-implement-contract-deletion-op_contract_delete
branch
from
January 9, 2025 16:26
6d0de94
to
4055758
Compare
corrideat
commented
Jan 12, 2025
frontend/setupChelonia.js
Outdated
|
||
switch (cheloniaState.type) { | ||
case 'gi.contracts/chatroom': { | ||
// TODO: Leave chatroom on our identity contract or our group, if we've |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not having a chatroom->parent relationship makes this difficult to implement (efficiently, at least). We also need to add a new action to the identity
contract, to delete chatrooms (currently, it's append-only).
corrideat
force-pushed
the
1927-design-implement-contract-deletion-op_contract_delete
branch
from
January 19, 2025 19:36
c096100
to
e274fc5
Compare
corrideat
force-pushed
the
1927-design-implement-contract-deletion-op_contract_delete
branch
from
January 19, 2025 19:37
e274fc5
to
e3ac815
Compare
corrideat
force-pushed
the
1927-design-implement-contract-deletion-op_contract_delete
branch
from
January 20, 2025 18:16
c337a31
to
0b5351a
Compare
Some useful console invocations for testing this PR: // Delete the current identity contract (and everything it owns)
await sbp('gi.app/identity/delete', sbp('state/vuex/state').reverseNamespaceLookups[sbp('state/vuex/state').loggedIn.identityContractID], sbp('state/vuex/state').loggedIn.identityContractID, prompt('Password'))
// Delete the current group (and everything it owns)
await sbp('chelonia/out/deleteContract', sbp('state/vuex/state').currentGroupId, {[sbp('state/vuex/state').currentGroupId]: { billableContractID: sbp('state/vuex/state').loggedIn.identityContractID } })
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Close #1927